package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsprintscheme {
    // 序列，作为主键且自增
    @Id(autoincrement = true)
    private long id;

    // 档口名称，可为空
    private String gearName;

    // 打印区域，可为空
    private String region;

    // 打印机名称，可为空
    private String printerName;

    // 打印机类型（1前台打印机,2厨房打印机），默认为 1
    private int printerType = 1;

    // IP 地址，可为空
    private String printerIP;

    // 品牌（0通用；1.佳博；2芯烨；），默认为 1
    private int brandId = 1;

    // 纸张宽度(0、58CM，1、75CM,2、80CM)，默认为 2
    private int paperType = 2;

    // 打印方式（1指令；2驱动），默认为 1
    private int sendPrintWay = 1;

    // 蜂鸣次数，可为空
    private Integer buzzingCount;

    // 蜂鸣等级，可为空
    private Integer buzzingType;

    // 走纸行数，默认为 4
    private int emptyRows = 4;

    // 重试次数，可为空
    private Integer retryCount;

    // 打印机连接方式，默认为 2
    private int printConnect = 2;

    // 端口号，可为空
    private String printPort;

    // 波特率，可为空
    private Integer baudrate;

    // 备注，可为空
    private String remark;

    // 备用打印机，可为空
    private Integer spareSchemeId;

    // 打印方案状态
    private int status;

    // 地址
    private String address;

    // 联系电话
    private String linkPhone;

    // 是否选择
    private boolean selected;

    // 连接状态
    private boolean linked;

    // 本地默认打印机
    private boolean defaultFlag;

    // 是否测试打印
    private boolean testPageFlag;

    @Generated(hash = 1165768970)
    public corecmsprintscheme(long id, String gearName, String region,
            String printerName, int printerType, String printerIP, int brandId,
            int paperType, int sendPrintWay, Integer buzzingCount,
            Integer buzzingType, int emptyRows, Integer retryCount,
            int printConnect, String printPort, Integer baudrate, String remark,
            Integer spareSchemeId, int status, String address, String linkPhone,
            boolean selected, boolean linked, boolean defaultFlag,
            boolean testPageFlag) {
        this.id = id;
        this.gearName = gearName;
        this.region = region;
        this.printerName = printerName;
        this.printerType = printerType;
        this.printerIP = printerIP;
        this.brandId = brandId;
        this.paperType = paperType;
        this.sendPrintWay = sendPrintWay;
        this.buzzingCount = buzzingCount;
        this.buzzingType = buzzingType;
        this.emptyRows = emptyRows;
        this.retryCount = retryCount;
        this.printConnect = printConnect;
        this.printPort = printPort;
        this.baudrate = baudrate;
        this.remark = remark;
        this.spareSchemeId = spareSchemeId;
        this.status = status;
        this.address = address;
        this.linkPhone = linkPhone;
        this.selected = selected;
        this.linked = linked;
        this.defaultFlag = defaultFlag;
        this.testPageFlag = testPageFlag;
    }

    @Generated(hash = 824570362)
    public corecmsprintscheme() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getGearName() {
        return this.gearName;
    }

    public void setGearName(String gearName) {
        this.gearName = gearName;
    }

    public String getRegion() {
        return this.region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getPrinterName() {
        return this.printerName;
    }

    public void setPrinterName(String printerName) {
        this.printerName = printerName;
    }

    public int getPrinterType() {
        return this.printerType;
    }

    public void setPrinterType(int printerType) {
        this.printerType = printerType;
    }

    public String getPrinterIP() {
        return this.printerIP;
    }

    public void setPrinterIP(String printerIP) {
        this.printerIP = printerIP;
    }

    public int getBrandId() {
        return this.brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public int getPaperType() {
        return this.paperType;
    }

    public void setPaperType(int paperType) {
        this.paperType = paperType;
    }

    public int getSendPrintWay() {
        return this.sendPrintWay;
    }

    public void setSendPrintWay(int sendPrintWay) {
        this.sendPrintWay = sendPrintWay;
    }

    public Integer getBuzzingCount() {
        return this.buzzingCount;
    }

    public void setBuzzingCount(Integer buzzingCount) {
        this.buzzingCount = buzzingCount;
    }

    public Integer getBuzzingType() {
        return this.buzzingType;
    }

    public void setBuzzingType(Integer buzzingType) {
        this.buzzingType = buzzingType;
    }

    public int getEmptyRows() {
        return this.emptyRows;
    }

    public void setEmptyRows(int emptyRows) {
        this.emptyRows = emptyRows;
    }

    public Integer getRetryCount() {
        return this.retryCount;
    }

    public void setRetryCount(Integer retryCount) {
        this.retryCount = retryCount;
    }

    public int getPrintConnect() {
        return this.printConnect;
    }

    public void setPrintConnect(int printConnect) {
        this.printConnect = printConnect;
    }

    public String getPrintPort() {
        return this.printPort;
    }

    public void setPrintPort(String printPort) {
        this.printPort = printPort;
    }

    public Integer getBaudrate() {
        return this.baudrate;
    }

    public void setBaudrate(Integer baudrate) {
        this.baudrate = baudrate;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSpareSchemeId() {
        return this.spareSchemeId;
    }

    public void setSpareSchemeId(Integer spareSchemeId) {
        this.spareSchemeId = spareSchemeId;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLinkPhone() {
        return this.linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public boolean getSelected() {
        return this.selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public boolean getLinked() {
        return this.linked;
    }

    public void setLinked(boolean linked) {
        this.linked = linked;
    }

    public boolean getDefaultFlag() {
        return this.defaultFlag;
    }

    public void setDefaultFlag(boolean defaultFlag) {
        this.defaultFlag = defaultFlag;
    }

    public boolean getTestPageFlag() {
        return this.testPageFlag;
    }

    public void setTestPageFlag(boolean testPageFlag) {
        this.testPageFlag = testPageFlag;
    }

}
